<template>
  <div id="app" class="app">
    <h1>{{ msg }}</h1>
    <School></School>
    <student></student>
  </div>
</template>

<script>
//样式根据引入顺序后来者居上
import Student from "@/components/Student.vue";
import School from "@/components/School.vue";

export default {
  name: 'App',
  components: {
    School,
    Student,
  },
  data() {
    return {
      msg: '你好啊！！！',
    }
  },
  methods: {


  },
  mounted() {
  }
}
</script>

<style>
.app {
  background-color: #2b542c;
  padding: 5px;
}
</style>
